#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@interface QKNetWorkTools : NSObject
+ (BOOL)getProxyStatus;

+ (void)getparamStringWithURLString:(NSString *)URLString
                   params:(NSString *)params
                  isPrint:(BOOL)isprint
                  success:(void (^)(id responseObject))success
                            failure:(void (^)(NSError *error))failure;

+ (void)getjsonStringWithURLString:(NSString *)URLString
                   params:(NSDictionary *)params
                  isPrint:(BOOL)isprint
                  success:(void (^)(id responseObject))success
                           failure:(void (^)(NSError *error))failure;



+ (void)postWithURLString:(NSString *)URLString
                   params:(NSDictionary *)params
                  isPrint:(BOOL)isprint
                  success:(void (^)(id responseObject))success
                  failure:(void (^)(NSError *error))failure;


+ (void)uploadWithURLString:(NSString *)URLString
         fileData:(NSData *)fileData
        progress:(void (^)(NSProgress *uploadProgress))progress
        success:(void (^)(id responseObject))success
        failure:(void (^)(NSError *error))failure;

+ (void)getWithURLString:(NSString *)URLString
                  params:(NSDictionary *)params
                 isPrint:(BOOL)isprint
                 success:(void (^)(id responseObject))success
                 failure:(void (^)(NSError *error))failure;

+ (void)postjsonStringWithURLString:(NSString *)URLString
                      params:(NSDictionary *)params
                     isPrint:(BOOL)isprint
                     success:(void (^)(id responseObject))success
                     failure:(void (^)(NSError *error))failure;


+ (void)getGuWenJsonWithURLString:(NSString *)URLString
                          params:(NSDictionary *)params
                         isPrint:(BOOL)isprint
                         success:(void (^)(id responseObject))success
                         failure:(void (^)(NSError *error))failure;
@end
NS_ASSUME_NONNULL_END
